<div class="list-group">
    <form class="form-horizontal" action="/article/post" style="padding: 20px;" onsubmit="return false">
        <fieldset>
            <legend>
                {{title}}
            </legend>
            <div class="form-group has-feedback">
                <input type="text" class="form-control" name="articleTitle" data-resettable data-type="{{type}}" id="articleTitle" aria-describedby="articleTitleStatus" placeholder="标题">
                <span class="glyphicon  form-control-feedback" aria-hidden="true"></span>
                <span id="articleTitleStatus" class="sr-only">(success)</span>
                <span class="help-block"></span>
            </div>
            <div class="form-group">
                <div class="input-group">
                    <span class="">分类 <i class="fa fa-bars fa-fw"></i></span>
                    <input type="text" class="form-control" id="articleCatalog" placeholder="分类,回车确定" data-role="tagsinput" data-type="catalog" data-maxTags="1">
                </div>
            </div>
            <div class="form-group">
                <div id="articleText"></div>
            </div>
            <div class="form-group">
                    <span class="">标签 <i class="fa fa-tags fa-fw"></i></span>
                    <input type="text" class="form-control" id="articleTags" data-role="tagsinput" placeholder="标签,回车确定" data-type="tag">
            </div>
            <div class="form-group">
                <div class="col-md-offset-10 col-md-2">
                    <button type="button" class="btn btn-default" data-loading-text="发表中..." autocomplete="off" onclick="$.Article.post('#article')">发表</button>
                </div>
            </div>
        </fieldset>
    </form>
</div>